import type { App } from "vue";
import Mention from "./components/Mention.vue";

const components = [Mention];

const install = (app: App) => {
  components.forEach((component) => {
    app.component(component.name || "ElementPlusVueMention", component);
  });
};

export { Mention };
export default install;
